<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="css/base.css" />
  </head>
  <body>
    <a href="/add"></a>
    <table>
      <tr>
        <th>姓名</th>
        <th>年龄</th>
        <th>操作</th>
      </tr>

      {{each list}}
      <tr>
        <td>{{$value.name}}</td>
        <td>{{$value.age}}</td>

        <td><a href="/edit?id={{@value.id}}">编辑</a></td>
        <td><a href="">删除</a></td>
      </tr>
      {{/each}}
    </table>
  </body>
</html>
